package com.f5.management.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 栋数管理
 */
@Data
@Accessors(chain = true)
public class Building {
    private int id;             //id
    private int cid;            //cid
    private String serialNumber;//栋数编号
    private String name;        //栋数名称
    private int peopleNumber;   //总户数
    private String represent;   //描述
    private boolean status;     //状态
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT"+24)
    private Date createTime;    //创建时间
    private String community;   //小区
}